package com.springboot.thymeleaf.springbootthymeleaf.api;

import com.springboot.thymeleaf.springbootthymeleaf.entity.SuErRequestWaybillWay;
import com.springboot.thymeleaf.springbootthymeleaf.entity.ThirdExpressVo;
import com.springboot.thymeleaf.springbootthymeleaf.entity.vo.CommonExpressVo;
import com.springboot.thymeleaf.springbootthymeleaf.entity.vo.SuErResponseVo;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;

/**
 * @Classname ${小柯}
 * @Description TODO
 * @Date 2019/10/8 19:57
 * @Created by Administrator
 */
@Api(value = "ExpressApi", description = "第三方快递服务查询类API", tags = "ExpressApi")
@ApiResponses(
        value = {
                @ApiResponse(code = 200, message = "successful operation"),
                @ApiResponse(code = 404, message = "not dound"),
                @ApiResponse(code = 460, message = "Invalid found"),
                @ApiResponse(code = 500, message = "服务器出错")
        }
)
public interface ExpressApi {

    @ApiOperation(value = "统一物流查询接口", notes = "物流追踪", tags = {"Express"})
    public ResponseEntity<CommonExpressVo> queryExpressProcessNew(@ApiParam(value = "统一物流查询参数实体", required = true)
                                                                          ThirdExpressVo thirdExpressVo) throws Exception;

    public ResponseEntity<SuErResponseVo> srWaybillReceive(@ApiParam(value = "速尔订单下单", required = true)SuErRequestWaybillWay suErRequestWaybillWay) throws  Exception;
}
